Skip to content

feat: add logging support and remove InputStream methods from LabReportClient#71

Open
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-13T17-30Z
Open

feat: add logging support and remove InputStream methods from LabReportClient#71
fern-api[bot] wants to merge 1 commit intomainfrom
fern-bot/2026-03-13T17-30Z

Conversation

@fern-api
Copy link
Contributor

@fern-api fern-api bot commented Mar 13, 2026

  • The InputStream-based parserCreateJob methods have been removed from LabReportClient and AsyncLabReportClient. Use the File-based parserCreateJob(File, BodyCreateLabReportParserJob) method instead for uploading lab report files.
  • The RawLabReportClient.parserCreateJob() method no longer accepts InputStream parameters. Use the File-based overloads instead. Additionally, several request classes now include new optional fields for enhanced lab configuration: labAccountId and labSlug in CreateLabTestRequest, labSlug in LabTestsGetMarkersRequest, and appointmentNotes in RequestAppointmentRequest.
  • The SDK now supports additional fields for enhanced functionality: SDK version tracking in ManualConnectionData, access notes for addresses, appointment notes for rescheduling, and clinical notes for orders. A new DerivedReadinessColumnExpr type is available for readiness data queries.
  • Breaking changes to improve type safety: GetOrderTransactionResponse.status is now an OrderTransactionStatus enum instead of String, and ParsingJob.jobId field has been removed. New optional fields added: orderTransaction on LabResultsRaw and accessNotes on PatientAddress types. Enhanced QueryGroupByItem with DerivedReadinessColumnExpr support.
  • New DerivedReadinessColumnExpr type available for advanced query expressions in QuerySelectItem. The UsAddress type now includes an optional access_notes field for delivery instructions. Lab test marker methods have been enhanced with new getMarkersForLabTest methods that include reflex markers, and improved documentation.
  • The getMarkers method now supports a lab_slug parameter for filtering markers by lab slug. Documentation has been enhanced for marker-related methods to clarify that reflex markers are excluded from general marker listings but included when fetching markers for specific lab tests.
  • The SDK now supports configurable logging with LogConfig for debugging HTTP requests and responses. New provider options include SONORA_QUEST for lab services, SAMSUNG_HEALTH for manual data entry, and APERO/PVERIFY for payor code verification. Additional client methods compendium() and labAccount() are now available.
  • New CompendiumClient available with search() and convert() methods for working with compendium data. The client supports both synchronous and asynchronous operations with comprehensive error handling.
  • New compendium search and convert APIs are now available for lab test data operations. The SDK also adds a new LabAccountClient for managing team lab accounts with full async support.
  • New lab account management capabilities with RawLabAccountClient.getTeamLabAccounts() method for retrieving lab account information. The SDK now supports optional clinical notes when creating lab test orders through the clinicalNotes field in CreateOrderRequestCompatible.
  • New builder methods additionalProperty() and additionalProperties() are now available on all request class builders, allowing developers to include custom key-value pairs in API requests that aren't explicitly defined in the schema.
  • New additionalProperty() and additionalProperties() builder methods are now available on all request objects, providing a convenient way to add custom properties to API requests with fluent method chaining.
  • New additionalProperty() and additionalProperties() methods available on all vitals request builders, allowing custom key-value pairs to be included with API requests.
  • New builder methods additionalProperty() and additionalProperties() are now available on all vitals request builders, enabling custom metadata to be passed alongside standard parameters.
  • The SDK now supports additional properties on builder classes through new additionalProperty() and additionalProperties() methods. These methods allow setting custom key-value pairs for extensibility and forward compatibility. Additionally, AppointmentBookingRequest now accepts optional appointment notes, and a new AppointmentPscLabs enum has been added for Quest and Sonora Quest lab providers.
  • New CanonicalCandidate type available for biomarker canonical search operations. Builder classes now support setting additional properties via additionalProperty() and additionalProperties() methods.
  • The ClientFacingAppointment class now includes an optional appointmentNotes field to store provider notes and comments. Access appointment notes using the new getAppointmentNotes() method or set them via the builder pattern.
  • New builder methods additionalProperty() and additionalProperties() are now available on all data model classes. These methods enable fluent setting of additional properties that may not be explicitly defined in the schema.
  • The SDK now provides builder methods for setting additional properties on data objects. Use additionalProperty(key, value) or additionalProperties(map) on any builder to include custom properties during object construction.
  • The SDK now supports setting additional properties on model objects through their builders. New additionalProperty() and additionalProperties() methods are available on all model builders to handle extra fields that may be present in API responses.
  • New webhook events for lab report parsing job lifecycle tracking: lab_report.parsing_job.created and lab_report.parsing_job.updated. Added ClientFacingLabAccount class for managing laboratory account configurations including billing, team access controls, and business unit settings. All model builders now include additionalProperty() and additionalProperties() methods for extensible field support.
  • Builder classes now support setting additional properties via new additionalProperty() and additionalProperties() methods. These methods enable more flexible object construction for cases requiring custom fields or metadata.
  • New builder methods additionalProperty() and additionalProperties() are now available on data model classes for setting custom properties dynamically.
  • New additionalProperty() and additionalProperties() builder methods are now available on all type classes, providing a convenient way to set custom properties that aren't part of the defined schema.
  • New additionalProperty() and additionalProperties() builder methods are now available on client-facing type classes, providing a fluent interface for managing additional properties on model objects and improving API extensibility.
  • New compendium conversion types and builder flexibility added. The SDK now includes CompendiumSearchLabs enum for lab provider constants, ConvertCompendiumResponse for handling lab test conversions, and DerivedReadinessColumnExpr types for readiness data queries. Builder classes now support additionalProperty methods for dynamic property handling.
  • New builder methods additionalProperty() and additionalProperties() are now available on model builders for better handling of unknown JSON fields. The SDK also adds support for team lab account operations with the new GetTeamLabAccountsResponse class.
  • The SDK now supports setting additional properties on grouped data types through new builder methods. Use additionalProperty() to set individual properties or additionalProperties() to set multiple properties at once.
  • New builder methods additionalProperty() and additionalProperties() are now available on grouped data type builders, allowing custom properties to be set during object construction.
  • The SDK now includes optional builder methods for setting additional properties on model objects, providing more flexibility in object construction. New enum values have been added for expanded type support including DERIVED_READINESS index expressions and SONORA_QUEST lab provider.
  • New builder methods additionalProperty() and additionalProperties() are now available on response and data type builders, allowing programmatic construction of objects with custom fields.
  • New PerLabCandidate type is now available for working with laboratory test candidates, including detailed metadata such as LOINC codes, CPT codes, and confidence scores. All builder classes now consistently support additionalProperty() methods for handling custom JSON fields.
  • The SDK now supports Samsung Health as a provider option and includes new types for provider ID conversion functionality. A gender field has been added to ResultMetadata with support for male, female, and other values.
  • New SearchCompendiumResponse and SearchMode types available for compendium search functionality. The UsState enum provides standardized US state abbreviations. Enhanced builder patterns across existing types now support additional properties for improved extensibility.
  • New UserAddress type available for representing user address information with fields for address lines, country, zip, city, state, and optional access notes.

…rtClient

Add optional logging configuration to ClientOptions through LogConfig parameter
and remove InputStream-based file upload methods from lab report parsing APIs.
Updates SSE stream handling with new event discrimination capabilities.

Key changes:
- Add optional logging parameter to ClientOptions.Builder
- Remove InputStream-based parserCreateJob methods from LabReportClient
- Add SSE_EVENT_DISCRIMINATED stream type and related parsing logic
- Update method documentation to clarify multi-file upload support

🌿 Generated with Fern
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants